#include <iostream>
using namespace std;
int main() {
    int a = 10;
    int* p = &a;
    //指针类型引用
    int*& q = p;
    *q = 20;
    cout<<a<<endl;
    return 0;
}